package com.tsxy.service;

import com.tsxy.common.APIResult;
import com.tsxy.controller.dto.UserDto;
import com.tsxy.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 飞
 * @since 2022-02-03
 */
public interface IUserService extends IService<User> {

    UserDto login(UserDto userDto);

    User register(UserDto userDto);

    User getByUserName(String username);
}
